package com.ktgj.flight.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 提醒信息对象 ticket_remind
 * 
 * @author ruoyi
 * @date 2021-08-30
 */
public class TicketRemind extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 提醒类型（首页提醒=1，航司提醒=2，临近起飞提醒 = 3，华夏通程提醒 = 4，退票提醒 = 5，特别提醒 = 6，儿童婴儿购票提醒 = 7） */
    @Excel(name = "提醒类型", readConverterExp = "提醒类型（首页提醒=1，航司提醒=2，临近起飞提醒 = 3，华夏通程提醒 = 4，退票提醒 = 5，特别提醒 = 6，儿童婴儿购票提醒 = 7）")
    private String remindType;

    /** 提示语标题名称 */
    @Excel(name = "提示语标题名称")
    private String remindName;

    /** 提示语详细描述 */
    @Excel(name = "提示语详细描述")
    private String remindDesc;

    /** 适用航司，多个用'|'隔开 */
    @Excel(name = "适用航司，多个用'|'隔开")
    private String flight;

    /** 状态 0 失效  1 启用 */
    @Excel(name = "状态 0 失效  1 启用")
    private String state;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creataEmployee;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateEmployee;

    /** 订单开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderDateStart;

    /** 订单结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderDateEnd;

    /** 起飞开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起飞开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date flyDateStart;

    /** 起飞结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起飞结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date flyDateEnd;

    /** FIT_TRIP */
    @Excel(name = "FIT_TRIP")
    private String fitTrip;

    /** 修改时间 */
    @Excel(name = "修改时间")
    private Date updateTime;

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRemindType(String remindType) 
    {
        this.remindType = remindType;
    }

    public String getRemindType() 
    {
        return remindType;
    }
    public void setRemindName(String remindName) 
    {
        this.remindName = remindName;
    }

    public String getRemindName() 
    {
        return remindName;
    }
    public void setRemindDesc(String remindDesc) 
    {
        this.remindDesc = remindDesc;
    }

    public String getRemindDesc() 
    {
        return remindDesc;
    }
    public void setFlight(String flight) 
    {
        this.flight = flight;
    }

    public String getFlight() 
    {
        return flight;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setCreataEmployee(String creataEmployee) 
    {
        this.creataEmployee = creataEmployee;
    }

    public String getCreataEmployee() 
    {
        return creataEmployee;
    }
    public void setUpdateEmployee(String updateEmployee) 
    {
        this.updateEmployee = updateEmployee;
    }

    public String getUpdateEmployee() 
    {
        return updateEmployee;
    }
    public void setOrderDateStart(Date orderDateStart) 
    {
        this.orderDateStart = orderDateStart;
    }

    public Date getOrderDateStart() 
    {
        return orderDateStart;
    }
    public void setOrderDateEnd(Date orderDateEnd) 
    {
        this.orderDateEnd = orderDateEnd;
    }

    public Date getOrderDateEnd() 
    {
        return orderDateEnd;
    }
    public void setFlyDateStart(Date flyDateStart) 
    {
        this.flyDateStart = flyDateStart;
    }

    public Date getFlyDateStart() 
    {
        return flyDateStart;
    }
    public void setFlyDateEnd(Date flyDateEnd) 
    {
        this.flyDateEnd = flyDateEnd;
    }

    public Date getFlyDateEnd() 
    {
        return flyDateEnd;
    }
    public void setFitTrip(String fitTrip) 
    {
        this.fitTrip = fitTrip;
    }

    public String getFitTrip() 
    {
        return fitTrip;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("remindType", getRemindType())
            .append("remindName", getRemindName())
            .append("remindDesc", getRemindDesc())
            .append("flight", getFlight())
            .append("createTime", getCreateTime())
            .append("state", getState())
            .append("creataEmployee", getCreataEmployee())
            .append("updateEmployee", getUpdateEmployee())
            .append("updateTime", getUpdateTime())
            .append("orderDateStart", getOrderDateStart())
            .append("orderDateEnd", getOrderDateEnd())
            .append("flyDateStart", getFlyDateStart())
            .append("flyDateEnd", getFlyDateEnd())
            .append("fitTrip", getFitTrip())
            .toString();
    }
}
